package jwr.basic;

public class J15_Product {
	private String pdNo; // 식별자
	private String pdSm; // 상품 설명
	private String pdMk; // 생상자
	private int price; // 가격
	
	public J15_Product() {
	}
	public J15_Product(String pdNo,String pdSm,String pdMk,int price) {
		this.pdNo = pdNo;
		this.pdSm = pdSm;
		this.pdMk = pdMk;
		this.price = price;
		
	}
	public String getPdNo() {
		return pdNo;
	}
	public void setPdNo(String pdNo) {
		this.pdNo = pdNo;
	}
	public String getPdSm() {
		return pdSm;
	}
	public void setPdSm(String pdSm) {
		this.pdSm = pdSm;
	}
	public String getPdMk() {
		return pdMk;
	}
	public void setPdMk(String pdMk) {
		this.pdMk = pdMk;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	@Override
	public String toString() {
		String result;
		result = "상품 번호 : "+pdNo;
		result += "\n상품 설명 : "+pdSm;
		result += "\n생산자 : "+pdMk;
		result += "\n가격 : "+price;
		return result;
	}
	
	
}
